﻿<Window x:Class="TextBoxUndoLimit.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <TextBox Height="99" HorizontalAlignment="Left" Margin="54,12,0,0" Name="textBox1" VerticalAlignment="Top" Width="394" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" />
        <FlowDocumentReader Margin="45,134,34,12">
            <FlowDocumentReader.Document>
                <FlowDocument>
                    <Table CellSpacing="5">
                        <Table.Columns>
                            <TableColumn />
                            <TableColumn />
                            <TableColumn />
                            <TableColumn />
                        </Table.Columns>
                        <TableRowGroup>
                            <TableRow Background="SkyBlue">
                                <TableCell ColumnSpan="4" TextAlignment="Center">
                                    <Paragraph FontSize="24pt" FontWeight="Bold">Planetary Information</Paragraph>
                                </TableCell>
                            </TableRow>
                            <TableRow Background="LightGoldenrodYellow">
                                <TableCell>
                                    <Paragraph FontSize="14pt" FontWeight="Bold">Planet</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph FontSize="14pt" FontWeight="Bold">Mean Distance from Sun</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph FontSize="14pt" FontWeight="Bold">Mean Diameter</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph FontSize="14pt" FontWeight="Bold">Approximate Mass</Paragraph>
                                </TableCell>
                            </TableRow>
                            <TableRow>
                                <TableCell ColumnSpan="4">
                                    <Paragraph FontSize="14pt" FontWeight="Bold">The Inner Planets</Paragraph>
                                </TableCell>
                            </TableRow>
                            <TableRow>
                                <TableCell>
                                    <Paragraph>Mercury</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph>57,910,000 km</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph>4,880 km</Paragraph>
                                </TableCell>
                                <TableCell>
                                    <Paragraph>3.30e23 kg</Paragraph>
                                </TableCell>
                            </TableRow>
                            <TableRow>
                                <TableCell ColumnSpan="4">
                                    <Paragraph FontSize="10pt" FontStyle="Italic">Information from the
                                        <Hyperlink NavigateUri="http://encarta.msn.com/encnet/refpages/artcenter.aspx">Encarta</Hyperlink> web site.
                                    </Paragraph>
                                </TableCell>
                            </TableRow>
                        </TableRowGroup>
                    </Table>
                </FlowDocument>
            </FlowDocumentReader.Document>
        </FlowDocumentReader>
    </Grid>
</Window>
